package com.itheima.mydemo.test2;

public class Mi {
    String name = "雷军";
    public void call(){
        System.out.println("给" +name + "打电话");
    }


}
class Mi10 extends Mi{
    @Override
    public void call(){
        System.out.println("开启视频电话");
        super.call();
    }
}
class text{
    public static void main(String[] args) {
        Mi10 mi10 = new Mi10();
        mi10.call();
    }

}
